<?php
/**
* photo.php
*
* Create on 2016-11-21
* Create by TT
*/

namespace haibao\cms\model\data\nh;

class Photo  extends \haibao\cms\model\data\Base {
	

	const STATUS_TYPE_OPEN = 0;
	const STATUS_TYPE_CLOSE = 1;
	
	public $UserId;
	public $PhotoUrl;
	public $Width;
	public $Height;
	public $PointCount;
	public $Status;


	public function __construct() {
		parent::__construct ();
		$this->intField ( 'UserId', 'UserId' );
		$this->stringField('PhotoUrl', 'PhotoUrl' );
		$this->intField ( 'Width', 'Width' );
		$this->intField ( 'Height', 'Height' );
		$this->stringField('PointCount', 'PointCount' );
		$this->intField ( 'Status', 'Status' );

		$this->setTableName ( 'NH_Photo' );
	}
}